package com.mes.cloud.service;


import com.mes.cloud.util.JSONResult;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @ProjectName: cloud
 * @Package: com.mes.cloud.service
 * @ClassName: BcCRUDService
 * @Author: xhy
 * @Description: 获取BC信息表的服务
 * @Date: 2019/4/24 18:21
 * @Version: 1.0
 */
public interface BcCRUDService {
     List<Map<String, Object>> findListFiled(String bcName,Map map);
     JSONResult insert(String bcName, Map<String,Object> mapList);
     JSONResult delete(String bcName,List list);
     JSONResult get(Map<String,Object> map);
     JSONResult getFiledAndFun(String bcName);
     JSONResult update(String bcName,Map<String,Object> mapList);
     JSONResult updateByCondition(String bcCode, Map<String, Object> mapList);
     JSONResult findPageList(Map<String, Object> map);

     JSONResult findPageListNew(Map<String, Object> map);

     JSONResult findList(Map<String, Object> map);
     JSONResult findListNew(Map<String, Object> map);
     JSONResult getBCPickPageMapDetal(Map<String, Object> map);
     JSONResult getBCSub(String bcCode);
     JSONResult getBCPickMapDetal(Map<String, Object> map);
     void exportAutoFile(Map<String, Object> map, HttpServletResponse response) throws Exception;
     Map<String, Object>  getPDF(Map<String, Object> map,HttpServletResponse response) throws Exception;

     JSONResult batchUpdate(String bcCode, Map<String, Object> param, List<String> ids);

     JSONResult findMsterSlvePageList(Map<String, Object> map);

     JSONResult findPicmapList(Map<String, Object> map);

     JSONResult findPicmapPageList(Map<String, Object> map);

     JSONResult getDigital(Map<String, Object> map);

     JSONResult my(Map<String, Object> map);

     JSONResult myOrg(Map<String, Object> map);

     JSONResult myTeam(Map<String, Object> map);

     JSONResult myShare(Map<String, Object> map);

     JSONResult getStatistics(Map<String, Object> map);

     JSONResult getCount(Map<String, Object> map);
}
